package com.xd.po;

import java.util.ArrayList;
import java.util.List;

public class GoodsFlExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GoodsFlExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFlIdIsNull() {
            addCriterion("FL_ID is null");
            return (Criteria) this;
        }

        public Criteria andFlIdIsNotNull() {
            addCriterion("FL_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFlIdEqualTo(String value) {
            addCriterion("FL_ID =", value, "flId");
            return (Criteria) this;
        }

        public Criteria andFlIdNotEqualTo(String value) {
            addCriterion("FL_ID <>", value, "flId");
            return (Criteria) this;
        }

        public Criteria andFlIdGreaterThan(String value) {
            addCriterion("FL_ID >", value, "flId");
            return (Criteria) this;
        }

        public Criteria andFlIdGreaterThanOrEqualTo(String value) {
            addCriterion("FL_ID >=", value, "flId");
            return (Criteria) this;
        }

        public Criteria andFlIdLessThan(String value) {
            addCriterion("FL_ID <", value, "flId");
            return (Criteria) this;
        }

        public Criteria andFlIdLessThanOrEqualTo(String value) {
            addCriterion("FL_ID <=", value, "flId");
            return (Criteria) this;
        }

        public Criteria andFlIdLike(String value) {
            addCriterion("FL_ID like", value, "flId");
            return (Criteria) this;
        }

        public Criteria andFlIdNotLike(String value) {
            addCriterion("FL_ID not like", value, "flId");
            return (Criteria) this;
        }

        public Criteria andFlIdIn(List<String> values) {
            addCriterion("FL_ID in", values, "flId");
            return (Criteria) this;
        }

        public Criteria andFlIdNotIn(List<String> values) {
            addCriterion("FL_ID not in", values, "flId");
            return (Criteria) this;
        }

        public Criteria andFlIdBetween(String value1, String value2) {
            addCriterion("FL_ID between", value1, value2, "flId");
            return (Criteria) this;
        }

        public Criteria andFlIdNotBetween(String value1, String value2) {
            addCriterion("FL_ID not between", value1, value2, "flId");
            return (Criteria) this;
        }

        public Criteria andDClassNameIsNull() {
            addCriterion("D_CLASS_NAME is null");
            return (Criteria) this;
        }

        public Criteria andDClassNameIsNotNull() {
            addCriterion("D_CLASS_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andDClassNameEqualTo(String value) {
            addCriterion("D_CLASS_NAME =", value, "dClassName");
            return (Criteria) this;
        }

        public Criteria andDClassNameNotEqualTo(String value) {
            addCriterion("D_CLASS_NAME <>", value, "dClassName");
            return (Criteria) this;
        }

        public Criteria andDClassNameGreaterThan(String value) {
            addCriterion("D_CLASS_NAME >", value, "dClassName");
            return (Criteria) this;
        }

        public Criteria andDClassNameGreaterThanOrEqualTo(String value) {
            addCriterion("D_CLASS_NAME >=", value, "dClassName");
            return (Criteria) this;
        }

        public Criteria andDClassNameLessThan(String value) {
            addCriterion("D_CLASS_NAME <", value, "dClassName");
            return (Criteria) this;
        }

        public Criteria andDClassNameLessThanOrEqualTo(String value) {
            addCriterion("D_CLASS_NAME <=", value, "dClassName");
            return (Criteria) this;
        }

        public Criteria andDClassNameLike(String value) {
            addCriterion("D_CLASS_NAME like", value, "dClassName");
            return (Criteria) this;
        }

        public Criteria andDClassNameNotLike(String value) {
            addCriterion("D_CLASS_NAME not like", value, "dClassName");
            return (Criteria) this;
        }

        public Criteria andDClassNameIn(List<String> values) {
            addCriterion("D_CLASS_NAME in", values, "dClassName");
            return (Criteria) this;
        }

        public Criteria andDClassNameNotIn(List<String> values) {
            addCriterion("D_CLASS_NAME not in", values, "dClassName");
            return (Criteria) this;
        }

        public Criteria andDClassNameBetween(String value1, String value2) {
            addCriterion("D_CLASS_NAME between", value1, value2, "dClassName");
            return (Criteria) this;
        }

        public Criteria andDClassNameNotBetween(String value1, String value2) {
            addCriterion("D_CLASS_NAME not between", value1, value2, "dClassName");
            return (Criteria) this;
        }

        public Criteria andFl1IsNull() {
            addCriterion("FL_1 is null");
            return (Criteria) this;
        }

        public Criteria andFl1IsNotNull() {
            addCriterion("FL_1 is not null");
            return (Criteria) this;
        }

        public Criteria andFl1EqualTo(String value) {
            addCriterion("FL_1 =", value, "fl1");
            return (Criteria) this;
        }

        public Criteria andFl1NotEqualTo(String value) {
            addCriterion("FL_1 <>", value, "fl1");
            return (Criteria) this;
        }

        public Criteria andFl1GreaterThan(String value) {
            addCriterion("FL_1 >", value, "fl1");
            return (Criteria) this;
        }

        public Criteria andFl1GreaterThanOrEqualTo(String value) {
            addCriterion("FL_1 >=", value, "fl1");
            return (Criteria) this;
        }

        public Criteria andFl1LessThan(String value) {
            addCriterion("FL_1 <", value, "fl1");
            return (Criteria) this;
        }

        public Criteria andFl1LessThanOrEqualTo(String value) {
            addCriterion("FL_1 <=", value, "fl1");
            return (Criteria) this;
        }

        public Criteria andFl1Like(String value) {
            addCriterion("FL_1 like", value, "fl1");
            return (Criteria) this;
        }

        public Criteria andFl1NotLike(String value) {
            addCriterion("FL_1 not like", value, "fl1");
            return (Criteria) this;
        }

        public Criteria andFl1In(List<String> values) {
            addCriterion("FL_1 in", values, "fl1");
            return (Criteria) this;
        }

        public Criteria andFl1NotIn(List<String> values) {
            addCriterion("FL_1 not in", values, "fl1");
            return (Criteria) this;
        }

        public Criteria andFl1Between(String value1, String value2) {
            addCriterion("FL_1 between", value1, value2, "fl1");
            return (Criteria) this;
        }

        public Criteria andFl1NotBetween(String value1, String value2) {
            addCriterion("FL_1 not between", value1, value2, "fl1");
            return (Criteria) this;
        }

        public Criteria andCalssName1IsNull() {
            addCriterion("CALSS_NAME_1 is null");
            return (Criteria) this;
        }

        public Criteria andCalssName1IsNotNull() {
            addCriterion("CALSS_NAME_1 is not null");
            return (Criteria) this;
        }

        public Criteria andCalssName1EqualTo(String value) {
            addCriterion("CALSS_NAME_1 =", value, "calssName1");
            return (Criteria) this;
        }

        public Criteria andCalssName1NotEqualTo(String value) {
            addCriterion("CALSS_NAME_1 <>", value, "calssName1");
            return (Criteria) this;
        }

        public Criteria andCalssName1GreaterThan(String value) {
            addCriterion("CALSS_NAME_1 >", value, "calssName1");
            return (Criteria) this;
        }

        public Criteria andCalssName1GreaterThanOrEqualTo(String value) {
            addCriterion("CALSS_NAME_1 >=", value, "calssName1");
            return (Criteria) this;
        }

        public Criteria andCalssName1LessThan(String value) {
            addCriterion("CALSS_NAME_1 <", value, "calssName1");
            return (Criteria) this;
        }

        public Criteria andCalssName1LessThanOrEqualTo(String value) {
            addCriterion("CALSS_NAME_1 <=", value, "calssName1");
            return (Criteria) this;
        }

        public Criteria andCalssName1Like(String value) {
            addCriterion("CALSS_NAME_1 like", value, "calssName1");
            return (Criteria) this;
        }

        public Criteria andCalssName1NotLike(String value) {
            addCriterion("CALSS_NAME_1 not like", value, "calssName1");
            return (Criteria) this;
        }

        public Criteria andCalssName1In(List<String> values) {
            addCriterion("CALSS_NAME_1 in", values, "calssName1");
            return (Criteria) this;
        }

        public Criteria andCalssName1NotIn(List<String> values) {
            addCriterion("CALSS_NAME_1 not in", values, "calssName1");
            return (Criteria) this;
        }

        public Criteria andCalssName1Between(String value1, String value2) {
            addCriterion("CALSS_NAME_1 between", value1, value2, "calssName1");
            return (Criteria) this;
        }

        public Criteria andCalssName1NotBetween(String value1, String value2) {
            addCriterion("CALSS_NAME_1 not between", value1, value2, "calssName1");
            return (Criteria) this;
        }

        public Criteria andFl2IsNull() {
            addCriterion("FL_2 is null");
            return (Criteria) this;
        }

        public Criteria andFl2IsNotNull() {
            addCriterion("FL_2 is not null");
            return (Criteria) this;
        }

        public Criteria andFl2EqualTo(String value) {
            addCriterion("FL_2 =", value, "fl2");
            return (Criteria) this;
        }

        public Criteria andFl2NotEqualTo(String value) {
            addCriterion("FL_2 <>", value, "fl2");
            return (Criteria) this;
        }

        public Criteria andFl2GreaterThan(String value) {
            addCriterion("FL_2 >", value, "fl2");
            return (Criteria) this;
        }

        public Criteria andFl2GreaterThanOrEqualTo(String value) {
            addCriterion("FL_2 >=", value, "fl2");
            return (Criteria) this;
        }

        public Criteria andFl2LessThan(String value) {
            addCriterion("FL_2 <", value, "fl2");
            return (Criteria) this;
        }

        public Criteria andFl2LessThanOrEqualTo(String value) {
            addCriterion("FL_2 <=", value, "fl2");
            return (Criteria) this;
        }

        public Criteria andFl2Like(String value) {
            addCriterion("FL_2 like", value, "fl2");
            return (Criteria) this;
        }

        public Criteria andFl2NotLike(String value) {
            addCriterion("FL_2 not like", value, "fl2");
            return (Criteria) this;
        }

        public Criteria andFl2In(List<String> values) {
            addCriterion("FL_2 in", values, "fl2");
            return (Criteria) this;
        }

        public Criteria andFl2NotIn(List<String> values) {
            addCriterion("FL_2 not in", values, "fl2");
            return (Criteria) this;
        }

        public Criteria andFl2Between(String value1, String value2) {
            addCriterion("FL_2 between", value1, value2, "fl2");
            return (Criteria) this;
        }

        public Criteria andFl2NotBetween(String value1, String value2) {
            addCriterion("FL_2 not between", value1, value2, "fl2");
            return (Criteria) this;
        }

        public Criteria andClassName2IsNull() {
            addCriterion("CLASS_NAME_2 is null");
            return (Criteria) this;
        }

        public Criteria andClassName2IsNotNull() {
            addCriterion("CLASS_NAME_2 is not null");
            return (Criteria) this;
        }

        public Criteria andClassName2EqualTo(String value) {
            addCriterion("CLASS_NAME_2 =", value, "className2");
            return (Criteria) this;
        }

        public Criteria andClassName2NotEqualTo(String value) {
            addCriterion("CLASS_NAME_2 <>", value, "className2");
            return (Criteria) this;
        }

        public Criteria andClassName2GreaterThan(String value) {
            addCriterion("CLASS_NAME_2 >", value, "className2");
            return (Criteria) this;
        }

        public Criteria andClassName2GreaterThanOrEqualTo(String value) {
            addCriterion("CLASS_NAME_2 >=", value, "className2");
            return (Criteria) this;
        }

        public Criteria andClassName2LessThan(String value) {
            addCriterion("CLASS_NAME_2 <", value, "className2");
            return (Criteria) this;
        }

        public Criteria andClassName2LessThanOrEqualTo(String value) {
            addCriterion("CLASS_NAME_2 <=", value, "className2");
            return (Criteria) this;
        }

        public Criteria andClassName2Like(String value) {
            addCriterion("CLASS_NAME_2 like", value, "className2");
            return (Criteria) this;
        }

        public Criteria andClassName2NotLike(String value) {
            addCriterion("CLASS_NAME_2 not like", value, "className2");
            return (Criteria) this;
        }

        public Criteria andClassName2In(List<String> values) {
            addCriterion("CLASS_NAME_2 in", values, "className2");
            return (Criteria) this;
        }

        public Criteria andClassName2NotIn(List<String> values) {
            addCriterion("CLASS_NAME_2 not in", values, "className2");
            return (Criteria) this;
        }

        public Criteria andClassName2Between(String value1, String value2) {
            addCriterion("CLASS_NAME_2 between", value1, value2, "className2");
            return (Criteria) this;
        }

        public Criteria andClassName2NotBetween(String value1, String value2) {
            addCriterion("CLASS_NAME_2 not between", value1, value2, "className2");
            return (Criteria) this;
        }

        public Criteria andFl3IsNull() {
            addCriterion("FL_3 is null");
            return (Criteria) this;
        }

        public Criteria andFl3IsNotNull() {
            addCriterion("FL_3 is not null");
            return (Criteria) this;
        }

        public Criteria andFl3EqualTo(String value) {
            addCriterion("FL_3 =", value, "fl3");
            return (Criteria) this;
        }

        public Criteria andFl3NotEqualTo(String value) {
            addCriterion("FL_3 <>", value, "fl3");
            return (Criteria) this;
        }

        public Criteria andFl3GreaterThan(String value) {
            addCriterion("FL_3 >", value, "fl3");
            return (Criteria) this;
        }

        public Criteria andFl3GreaterThanOrEqualTo(String value) {
            addCriterion("FL_3 >=", value, "fl3");
            return (Criteria) this;
        }

        public Criteria andFl3LessThan(String value) {
            addCriterion("FL_3 <", value, "fl3");
            return (Criteria) this;
        }

        public Criteria andFl3LessThanOrEqualTo(String value) {
            addCriterion("FL_3 <=", value, "fl3");
            return (Criteria) this;
        }

        public Criteria andFl3Like(String value) {
            addCriterion("FL_3 like", value, "fl3");
            return (Criteria) this;
        }

        public Criteria andFl3NotLike(String value) {
            addCriterion("FL_3 not like", value, "fl3");
            return (Criteria) this;
        }

        public Criteria andFl3In(List<String> values) {
            addCriterion("FL_3 in", values, "fl3");
            return (Criteria) this;
        }

        public Criteria andFl3NotIn(List<String> values) {
            addCriterion("FL_3 not in", values, "fl3");
            return (Criteria) this;
        }

        public Criteria andFl3Between(String value1, String value2) {
            addCriterion("FL_3 between", value1, value2, "fl3");
            return (Criteria) this;
        }

        public Criteria andFl3NotBetween(String value1, String value2) {
            addCriterion("FL_3 not between", value1, value2, "fl3");
            return (Criteria) this;
        }

        public Criteria andClassName3IsNull() {
            addCriterion("CLASS_NAME_3 is null");
            return (Criteria) this;
        }

        public Criteria andClassName3IsNotNull() {
            addCriterion("CLASS_NAME_3 is not null");
            return (Criteria) this;
        }

        public Criteria andClassName3EqualTo(String value) {
            addCriterion("CLASS_NAME_3 =", value, "className3");
            return (Criteria) this;
        }

        public Criteria andClassName3NotEqualTo(String value) {
            addCriterion("CLASS_NAME_3 <>", value, "className3");
            return (Criteria) this;
        }

        public Criteria andClassName3GreaterThan(String value) {
            addCriterion("CLASS_NAME_3 >", value, "className3");
            return (Criteria) this;
        }

        public Criteria andClassName3GreaterThanOrEqualTo(String value) {
            addCriterion("CLASS_NAME_3 >=", value, "className3");
            return (Criteria) this;
        }

        public Criteria andClassName3LessThan(String value) {
            addCriterion("CLASS_NAME_3 <", value, "className3");
            return (Criteria) this;
        }

        public Criteria andClassName3LessThanOrEqualTo(String value) {
            addCriterion("CLASS_NAME_3 <=", value, "className3");
            return (Criteria) this;
        }

        public Criteria andClassName3Like(String value) {
            addCriterion("CLASS_NAME_3 like", value, "className3");
            return (Criteria) this;
        }

        public Criteria andClassName3NotLike(String value) {
            addCriterion("CLASS_NAME_3 not like", value, "className3");
            return (Criteria) this;
        }

        public Criteria andClassName3In(List<String> values) {
            addCriterion("CLASS_NAME_3 in", values, "className3");
            return (Criteria) this;
        }

        public Criteria andClassName3NotIn(List<String> values) {
            addCriterion("CLASS_NAME_3 not in", values, "className3");
            return (Criteria) this;
        }

        public Criteria andClassName3Between(String value1, String value2) {
            addCriterion("CLASS_NAME_3 between", value1, value2, "className3");
            return (Criteria) this;
        }

        public Criteria andClassName3NotBetween(String value1, String value2) {
            addCriterion("CLASS_NAME_3 not between", value1, value2, "className3");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("IS_DELETE is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("IS_DELETE is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(String value) {
            addCriterion("IS_DELETE =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(String value) {
            addCriterion("IS_DELETE <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(String value) {
            addCriterion("IS_DELETE >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(String value) {
            addCriterion("IS_DELETE >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(String value) {
            addCriterion("IS_DELETE <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(String value) {
            addCriterion("IS_DELETE <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLike(String value) {
            addCriterion("IS_DELETE like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotLike(String value) {
            addCriterion("IS_DELETE not like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<String> values) {
            addCriterion("IS_DELETE in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<String> values) {
            addCriterion("IS_DELETE not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(String value1, String value2) {
            addCriterion("IS_DELETE between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(String value1, String value2) {
            addCriterion("IS_DELETE not between", value1, value2, "isDelete");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}